﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Sys.Repository.Entities
{
    /// <summary>
    /// 小红书分组
    /// </summary>
    [Table("sys_RedNewsGroup"), Comment("小红书分组")]
    public class RedNewsGroup : EfEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称"),MaxLength(500)]
        public string Name { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        [Comment("序号")]
        public int Sort { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [Comment("创建时间")]
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 状态
        /// </summary>
        [Comment("状态")]
        public bool Deleted { get; set; } = false;
    }
}
